home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / guides-texts / amos / amoslist / text0128.txt < prev    next >
Encoding:
Text File  |  1995-09-01  |  1.3 KB  |  39 lines

  1. I wrote this:
  2.  
  3. > I want a routine that will take a string and work out if it matches any
  4. > of the commands (including syntax) in it's dictionnary (an array) and
  5. > returns the number of it. Is that so much to ask.
  6.  
  7. I thought I meant this:
  8.  
  9. > I want a routine that will take a string and work out if it matches any
  10. > of the commands (including *parameters*) in it's dictionnary (an array)
  11. > and returns the number of it. Is that so much to ask.
  12.  
  13. But I actually meant this:
  14.  
  15. > I want a routine that will take a string and work out if it matches any
  16. > of the commands (including parameters) in it's dictionnary (an array)
  17. > and adds the code to A$ as Chr$(CODE), with the parameters following.
  18. > Numbers as two Chr$() and strings as the Chr$(length), followed by the
  19. > string.
  20.  
  21. I'll get it right soon ;-)
  22.  
  23. Here are examples from the *actual* program, which will be a point and
  24. click adventure creator (maybe one day) :
  25.  
  26. IncVar # - eg IncVar 57
  27. Character # Walk To #,# - eg Character 2 Walk To 160,100
  28. Character # Say $ - eg Character 11 Say "I've got nothing to say"
  29. Exit On #
  30. etc
  31. Get the idea?
  32.  
  33. Thanks
  34.      _________________________________
  35.     /                                 \
  36.     > Ben Wyatt - bwyatt@paston.co.uk <
  37.     \_________________________________/ ©1995 Very Interesting Signatures
  38.  
  39.